package com.pulisher.service.impl;

import com.pulisher.bean.TrafficSourceBean;
import com.pulisher.mapper.TrafficStatsMapper;
import com.pulisher.service.TrafficStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TrafficStatsServiceImpl implements TrafficStatsService {
    @Autowired
    private TrafficStatsMapper trafficStatsMapper;

    @Override
    public List<TrafficSourceBean> getSource(Integer date) {
        return trafficStatsMapper.selectSource(date);
    }
}
